package com.cmf.myproject.service.project.dto;

import lombok.Data;

import java.util.Date;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import io.swagger.annotations.ApiModelProperty;

@Data
public class ProjectUpdateItemReqDto {
	/**
	 * (project)
	 */
	@ApiModelProperty(value = "")
	private Long id;
	/**
	 * 项目名称(project)
	 */
	@ApiModelProperty(value = "项目名称")
	@Size(min = 0,max = 50,message ="name字段超过限长（50）")
	private String name;
	/**
	 * 项目所属(project)
	 */
	@ApiModelProperty(value = "项目所属")
	private com.cmf.myproject.dal.mybatis.enums.ProjectOwnerTypeEnum ownerType;
	/**
	 * 项目开始时间(project)
	 */
	@ApiModelProperty(value = "项目开始时间")
	private Date startTime;
	/**
	 * 是否可用(project)
	 */
	@ApiModelProperty(value = "是否可用")
	private Boolean isEnable = false;
	/**
	 * (project)
	 */
	@ApiModelProperty(value = "")
	private Date createTime;
	/**
	 * (project)
	 */
	@ApiModelProperty(value = "")
	private Date updateTime;
}